<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page contentType="text/html;charset=UTF-8"%>
<%@taglib uri="/struts-tags" prefix="s"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>provider order</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<link rel="stylesheet" type="text/css" href="/Machine/css/member.css">
		<link rel="stylesheet" type="text/css" href="/Machine/css/hasout.css">

		<script type="text/javascript" src="/Machine/js/jquery-1.7.2.js">

</script>

		<script type="text/javascript">

function changeframe(mychoise) {
	if ($.trim($(mychoise).text()) == "已发布") {

		$.ajax( {
			type : "POST",
			url : "/Machine/user/findHasOutAction.action",
			dataType : "html",
			data : "username=张三",
			success : function(msg) {
				// alert("Data Loaded: " + data);
			//alert(msg);
			$("#back_data").html(msg);
			$("#myframe").remove();
		}
		});

	}
	return false;

}
</script>

	</head>

	<body>
		<div class="head">
			<div id="top">
				<span class="f_r"> </span>
				<a href="http://www.deer860.com/">网站首页</a>
			</div>
		</div>
		<table width="100%" cellspacing="0" cellpadding="0">
			<tbody>
				<tr>
					<td id="side" class="side" valign="top">
						<div class="side_head" onclick="c(0);">
							<div>
								<img id="I_0" width="16" height="16" align="right" alt=""
									src="/Machine/images/arrow_c.gif">
								信息管理
							</div>
						</div>

						<div id="D_0" class="side_body">
							<ul>
								<li id="mid_6" class="side_b" onmouseout="t(this.id);"
									onmouseover="v(this.id);">
									<span class="f_r"> <a class="m"
										href="">发布</a>
									</span>
									<a class="n" href="http://www.deer860.com/member/my.php?mid=6">供应管理</a>
								</li>


							</ul>
						</div>

						<div class="side_head" onclick="c(2);">
							<div>
								<img id="I_2" width="16" height="16" align="right" alt=""
									src="/Machine/images/arrow_c.gif">
								交易管理
							</div>
						</div>

						<div id="D_2" class="side_body" style="">
							<ul>

								<li id="trade" class="side_a" onmouseout="t(this.id);"
									onmouseover="v(this.id);">
									<span class="f_r"> <a class="m"
										href="http://www.deer860.com/member/trade.php?action=pay">付款</a>
									</span>
									<a class="n" href="">我的订单</a>
								</li>

								<li id="record" class="side_a" onmouseout="t(this.id);"
									onmouseover="v(this.id);">
									<a class="n" href="http://www.deer860.com/member/record.php">资金流水</a>
								</li>



							</ul>
						</div>

						<div class="side_head" onclick="c(4);">
							<div>
								<img id="I_4" width="16" height="16" align="right" alt=""
									src="/Machine/images/arrow_c.gif">
								资料管理
							</div>
						</div>

						<div id="D_4" class="side_body" style="">
							<ul>

								<li id="edit" class="side_a" onmouseout="t(this.id);"
									onmouseover="v(this.id);">
									<span class="f_r"> <a class="m"
										href="http://www.deer860.com/member/edit.php?tab=1">密码</a> </span>
									<a class="n" href="http://www.deer860.com/member/edit.php">修改资料</a>
								</li>

								<li id="address" class="side_a" onmouseout="t(this.id);"
									onmouseover="v(this.id);">
									<span class="f_r"> <a class="m"
										href="http://www.deer860.com/member/address.php?action=add">添加</a>
									</span>
									<a class="n" href="http://www.deer860.com/member/address.php">收货地址</a>
								</li>

								<li id="logout" class="side_a" onmouseout="t(this.id);"
									onmouseover="v(this.id);">
									<a class="n"
										href="http://www.deer860.com/member/logout.php?forward=">退出登录</a>
								</li>

							</ul>

						</div>



					</td>

					<td id="side_oh" class="side_h" title="点击展开/隐藏侧栏"
						onclick="oh(this);">
						&nbsp;
					</td>

					<td id="main" class="main" valign="top" style="height: 501px;">

						<div class="menu">
							<table cellspacing="0" cellpadding="0">
								<tbody>
									<tr>
										<td id="add" class="tab">
											<a href="/Machine/provider_member.jsp"> <span>添加供应</span>
											</a>
										</td>
										<td class="tab_nav">
											&nbsp;
										</td>
										<td id="" class="tab">
											<a href="#" onclick="return changeframe(this);"> <span>
													已发布 </span> </a>
										</td>
										<td class="tab_nav">
											&nbsp;
										</td>
										<td id="s2" class="tab">
											<a href="#" onclick=""><span> 审核中</span></a> 
										</td>
										<td class="tab_nav">
											&nbsp;
										</td>
										<td id="s1" class="tab">
												<a href="#" onclick=""><span> 未通过 </span></a>
										</td>
										<td class="tab_nav">
											&nbsp;
										</td>
										<td id="s4" class="tab">
											<a href="#" onclick="">	<span> 已过期 </span> </a>
										</td>
										<td class="tab_nav">
											&nbsp;
										</td>

									</tr>
								</tbody>
							</table>


						</div>

						<div id="framediv">

							<iframe id="myframe" src="/Machine/product_out.jsp" width="100%"
								frameborder="0" height="650px;">

							</iframe>
						</div>

						<div id="back_data">

						</div>


					</td>

				</tr>
			</tbody>
		</table>

	</body>
</html>
